from rest_framework import serializers
from .models import *
class UserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"
class CateSer(serializers.ModelSerializer):
    class Meta:
        model = Cate
        fields = "__all__"
class NewsSer(serializers.ModelSerializer):
    class Meta:
        model = News
        fields = "__all__"